﻿namespace Falcon.Core.Extensions
{
	using Falcon.Core.Domain;

	public static class ResourceExtension
	{
		public static string Localize(this string value, string section)
		{
			return Resources.GetByKey(string.Concat(section, ".", value.ToLowerInvariant()));
		}
	}
}